<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<!--[if lt IE 9]>
    <script src="jquery-1.9.0.js"></script>
<![endif]-->
		<!--[if gte IE 9]><!-->
		<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
		<!--<![endif]-->
		<script type="text/javascript">
$(document).ready(function(){
  $("p").has("span").css("background-color","yellow");
});
		</script>
	</head>

	<body>

<h1>欢迎来到我的主页</h1>
<p>我的<span>名字</span>叫 Donald。</p>
<p>我住在<span>Duckburg</span>。</p>
<p>我最好的朋友是 Mickey。</p>

	</body>
</html>